﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
using ElectronicCommerce.Framework.Configuration.Attributes;

namespace ElectronicCommerce.Framework.Configuration.Entities
{
    /// <summary>
    /// Index Configuration
    /// </summary>
    [ConfigFile("IndexConfig.config")]
    [XmlRoot("indexConfiguration")]
    public class IndexConfiguration
    {
        [XmlAttribute("tempPath")]
        public string TempPath { get; set; }

        [XmlAttribute("backUpPath")]
        public string BackUpPath { get; set; }

        [XmlAttribute("backUpCount")]
        public int BackUpCount { get; set; }

        [XmlElement("webSite")]
        public WebSiteCollection WebSiteList { get; set; }
    }

}
